package cn.easybuymember.pojo;

/**
 * 商品表
 */
public class Product {

    private int id;// 序号
    private String name;// 商品名称
    private String description;// 商品描述
    private float price;// 价格
    private int stock;// 库存
    private int categoryLevel1; // 分类
    private int categoryLevel2; // 二级分类
    private int categoryLevel3;// 三级分类
    private String fileName; // 文件名
    private int isDelete;// 是否删除 1删除 0未删除
    private String id1;
    private String id2;
    private String id3;

    public String getId1() {
        return id1;
    }

    public void setId1(String id1) {
        this.id1 = id1;
    }

    public String getId2() {
        return id2;
    }

    public void setId2(String id2) {
        this.id2 = id2;
    }

    public String getId3() {
        return id3;
    }

    public void setId3(String id3) {
        this.id3 = id3;
    }

    public Product(int id, String name, String description, float price,
                   int stock, int categoryLevel1, int categoryLevel2,
                   int categoryLevel3, String fileName, int isDelete, String id1,
                   String id2, String id3) {
        super();
        this.id = id;
        this.name = name;
        this.description = description;
        this.price = price;
        this.stock = stock;
        this.categoryLevel1 = categoryLevel1;
        this.categoryLevel2 = categoryLevel2;
        this.categoryLevel3 = categoryLevel3;
        this.fileName = fileName;
        this.isDelete = isDelete;
        this.id1 = id1;
        this.id2 = id2;
        this.id3 = id3;
    }

    public Product(int id, String name, float price, int stock,
                   String fileName, String description) {
        super();
        this.id = id;
        this.name = name;
        this.price = price;
        this.stock = stock;
        this.fileName = fileName;
        this.description = description;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getCategoryLevel1() {
        return categoryLevel1;
    }

    public void setCategoryLevel1(int categoryLevel1) {
        this.categoryLevel1 = categoryLevel1;
    }

    public int getCategoryLevel2() {
        return categoryLevel2;
    }

    public void setCategoryLevel2(int categoryLevel2) {
        this.categoryLevel2 = categoryLevel2;
    }

    public int getCategoryLevel3() {
        return categoryLevel3;
    }

    public void setCategoryLevel3(int categoryLevel3) {
        this.categoryLevel3 = categoryLevel3;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

}

